package net.shopxx.entity;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

/**
 * 实体类 - 旗舰店导航
 */

@Entity
public class StoreNavigation extends BaseEntity {

	private static final long serialVersionUID = -7519486823153844426L;
	
	private FlagshipStore flagshipStore;// 旗舰店
	private String name;// 名称
	private String link;
	private Boolean isSystem;
	
	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(nullable = false)
	public FlagshipStore getFlagshipStore() {
		return flagshipStore;
	}

	public void setFlagshipStore(FlagshipStore flagshipStore) {
		this.flagshipStore = flagshipStore;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public Boolean getIsSystem() {
		return isSystem;
	}

	public void setIsSystem(Boolean isSystem) {
		this.isSystem = isSystem;
	}

	
	
	
}